﻿using HotelManager.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Service
{
    public interface ITypeService
    {
        Task<List<RoomTypeData>> GetAllAsync();
        Task<RoomTypeData> GetFirstOrDefaultAsync(int roomTypeId);
        Task<ResultData<string>> DeleteAsync(int roomTypeId);
        Task<ResultData<string>> AddAsync(RoomTypeData roomTypeData);
        ResultData<string> Update(RoomTypeData roomTypeData);
        List<RoomTypeTotalData> GetRoomTypeTotalMoney();
    }
}
